package br.com.cast.scc.service;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import br.com.cast.scc.dao.TipoVeiculoDao;
import br.com.cast.scc.model.DominioTipoVeiculo;

@Component
public class DominioTipoVeiculoServiceImpl implements DominioTipoVeiculoService {
	
	@Autowired
	private TipoVeiculoDao tipoVeiculoDao;

	public List<DominioTipoVeiculo> consultaTodos() {
		return tipoVeiculoDao.consultaTodos(
				DominioTipoVeiculo.class);
	}
	
}
